package com.qiaofang.applet.service.property.service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel("楼盘查询条件DTO")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EstateQueryDto {

    @ApiModelProperty("楼盘名称")
    private String estateName;

    @ApiModelProperty("楼盘唯一UUID")
    private String estateUniqueUuid;

    @ApiModelProperty("城市code")
    private String cityCode;

    @ApiModelProperty("区域UUID")
    private String areaUuid;

    @ApiModelProperty("商圈UUID")
    private String businessCircleUuid;

    @ApiModelProperty("最小售价")
    private BigDecimal minSellPrice;

    @ApiModelProperty("最大售价")
    private BigDecimal maxSellPrice;

    @ApiModelProperty("类型")
    private String estatetype;

    @ApiModelProperty("楼龄")
    private int buildingYear;

    @ApiModelProperty("排序 0最新发布,1楼龄从低到高,2楼龄从高到低,3均价从低到高,4均价从高到低")
    private int sort;

    @ApiModelProperty("楼盘唯一UUID集合")
    private List<String> estateUniqueUuids;

    @ApiModelProperty("列表展示 是否有房源 true:展示 false:不展示")
    private Boolean existProperty;

    @ApiModelProperty("集团编码")
    private String corporationCode;


}
